<template>
  <view class="cu-dropdown__item" @click="$emit('click')"><slot></slot></view>
</template>

<script></script>

<style scoped lang="scss">
.cu-dropdown__item {
  position: relative;
  min-height: 80rpx;
  min-width: 240rpx;
  padding: 20rpx;
  line-height: 40rpx;
  color: #333333;
  font-size: 28rpx;
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20rpx;
    right: 20rpx;
    height: 1px;
    background-color: #d5d7e3;
    transform: scaleY(0.5);
  }
  &:last-child {
    &::after {
      display: none;
    }
  }
}
</style>
